package com.cdtu.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.cdtu.entity.Speciality;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Sakura
* @description 针对表【speciality】的数据库操作Mapper
* @createDate 2023-01-14 11:12:46
* @Entity com.cdtu.entity.Speciality
*/
@Mapper
public interface SpecialityMapper extends BaseMapper<Speciality> {
    List<Speciality> findByTypeId(@Param("typeId") Long typeId);

    Speciality findIdByName(@Param("name") String name);

    Speciality findAllByName(@Param("name") String name);
}




